﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

public partial class admin_Admin : @base {
    protected void Page_Load(object sender, EventArgs e) {
    //  String  _pagePath = Server.MapPath("~/Oil_Report.aspx");
        string tempFolder = String.Format("{0}\\inbox", Server.MapPath(""));
      //string haha;
   //   Response.Redirect(_pagePath);
    }
    /// <summary>
    /// Handles the LoggingOut event of the LoginStatus1 control.
    /// </summary>
    /// <param name="sender">The source of the event.</param>
    /// <param name="e">The <see cref="System.Web.UI.WebControls.LoginCancelEventArgs"/> instance containing the event data.</param>
    protected void LoginStatus1_LoggingOut(object sender, LoginCancelEventArgs e) {


        Session.Contents.Remove("UserDetails");
        Session.Abandon();
        Session.Contents.RemoveAll();
        FormsAuthentication.SignOut();
        Response.Redirect("../Default.aspx");
    }
}
